package cn.sofwin.blog.entity;

import java.io.Serializable;

/**
 * 实体
 * @author LetCode
 * @since 1.0
 *
 */
public class User implements Serializable {

	/** 主键ID */
	private Integer id;

	/** 用户名 */
	private String username;

	/** 密码 */
	private String password;

	/** 昵称 */
	private String nickname;

	/** 头像 */
	private String avatar;

	/** 性别  0：女 1：男 */
	private Integer gender;

	/** 状态：-1.删除 0.封号 1.正常 */
	private Integer status;

	public User() {
	}

	public User(Integer id) {
		this.id = id;
	}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	
	public String getAvatar() {
		return this.avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	
	public Integer getGender() {
		return this.gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}
	
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
}